<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="utf-8">
  

  
  <title>开发者账号秘钥验证，并获取token | Hexo</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="简要描述：   开发者账号秘钥验证，并获取token  请求URL：   https://platform.xjiangiot.com/api/develop/token  请求方式：  POST  参数：     参数名 必选 类型 说明     developerKey 是 string 开发者KEY   developerSecret 是 string 开发者秘钥     返回示例12345">
<meta property="og:type" content="article">
<meta property="og:title" content="开发者账号秘钥验证，并获取token">
<meta property="og:url" content="http://yoursite.com/2019/04/11/开发者账号秘钥验证，并获取token/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:description" content="简要描述：   开发者账号秘钥验证，并获取token  请求URL：   https://platform.xjiangiot.com/api/develop/token  请求方式：  POST  参数：     参数名 必选 类型 说明     developerKey 是 string 开发者KEY   developerSecret 是 string 开发者秘钥     返回示例12345">
<meta property="og:locale" content="中文">
<meta property="og:updated_time" content="2019-04-12T02:34:44.503Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="开发者账号秘钥验证，并获取token">
<meta name="twitter:description" content="简要描述：   开发者账号秘钥验证，并获取token  请求URL：   https://platform.xjiangiot.com/api/develop/token  请求方式：  POST  参数：     参数名 必选 类型 说明     developerKey 是 string 开发者KEY   developerSecret 是 string 开发者秘钥     返回示例12345">
  
    <link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  <link rel="stylesheet" href="/css/style.css">
</head>
</html>
<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">Hexo</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://yoursite.com"></form>
      </div>
    </div>
  </div>
</header>
      <div class="outer">
        <section id="main"><article id="post-开发者账号秘钥验证，并获取token" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2019/04/11/开发者账号秘钥验证，并获取token/" class="article-date">
  <time datetime="2019-04-11T10:17:42.000Z" itemprop="datePublished">2019-04-11</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="article-title" itemprop="name">
      开发者账号秘钥验证，并获取token
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p><strong>简要描述：</strong> </p>
<ul>
<li>开发者账号秘钥验证，并获取token</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>https://platform.xjiangiot.com/api/develop/token</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数：</strong> </p>
<table>
<thead>
<tr>
<th style="text-align:left">参数名</th>
<th style="text-align:left">必选</th>
<th style="text-align:left">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">developerKey</td>
<td style="text-align:left">是</td>
<td style="text-align:left">string</td>
<td>开发者KEY</td>
</tr>
<tr>
<td style="text-align:left">developerSecret</td>
<td style="text-align:left">是</td>
<td style="text-align:left">string</td>
<td>开发者秘钥</td>
</tr>
</tbody>
</table>
<p> <strong>返回示例</strong><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">&#123;</span><br><span class="line">  &quot;code&quot;: 1000,</span><br><span class="line">  &quot;msg&quot;: &quot;ok&quot;,</span><br><span class="line">  &quot;data&quot;: &#123;</span><br><span class="line">      &quot;access_token&quot;:&quot;fjksjjakjljkjkkkkkjdkfjskjaljkjfk&quot;</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></p>
<p> <strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://yoursite.com/2019/04/11/开发者账号秘钥验证，并获取token/" data-id="cjujetss900041lrjntnrawq6" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/2019/04/11/新用户注册推送到中心/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Newer</strong>
      <div class="article-nav-title">
        
          新用户注册推送到中心
        
      </div>
    </a>
  
  
    <a href="/2019/04/11/小匠云平台物联网开发套件iotkit（Android）使用手册/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Older</strong>
      <div class="article-nav-title">小匠云平台物联网开发套件iotkit（Android）使用手册</div>
    </a>
  
</nav>

  
</article>

</section>
        
          <aside id="sidebar">
  
    

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tags</h3>
    <div class="widget">
      <ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/XJIOTKit/">XJIOTKit</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/iOS/">iOS</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/xjiang/">xjiang</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/使用文档/">使用文档</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tag Cloud</h3>
    <div class="widget tagcloud">
      <a href="/tags/XJIOTKit/" style="font-size: 10px;">XJIOTKit</a> <a href="/tags/iOS/" style="font-size: 10px;">iOS</a> <a href="/tags/xjiang/" style="font-size: 10px;">xjiang</a> <a href="/tags/使用文档/" style="font-size: 10px;">使用文档</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/04/">April 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/03/">March 2019</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2019/04/12/XJIOTKit-使用/">XJIOTKit 使用</a>
          </li>
        
          <li>
            <a href="/2019/04/11/新用户注册推送到中心/">新用户注册推送到中心</a>
          </li>
        
          <li>
            <a href="/2019/04/11/开发者账号秘钥验证，并获取token/">开发者账号秘钥验证，并获取token</a>
          </li>
        
          <li>
            <a href="/2019/04/11/小匠云平台物联网开发套件iotkit（Android）使用手册/">小匠云平台物联网开发套件iotkit（Android）使用手册</a>
          </li>
        
          <li>
            <a href="/2019/03/04/hello-world/">Hello World</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2019 zt.cfvli<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>
    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>


  <link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
  <script src="/fancybox/jquery.fancybox.pack.js"></script>


<script src="/js/script.js"></script>



  </div>
</body>
</html>